<template>
  <div>
    <h1>BAseModal组件</h1>
    <base-modal :show="a" @bb="onCloseModal"></base-modal>
  </div>
</template>

<script>
import BaseModal from "@/components/BaseModal.vue";
export default {
  components: { BaseModal },
  data() {
    return {
      a: true,
    };
  },
  methods: {
    onCloseModal(isShow) {
      this.a = isShow;
    },
  },
};
</script>

<style></style>
